export const Constant = {
  classTypeList:[{name:'视频', code:'video', url:'admin/resource/course/video/list'},{name:'直播', code:'live', url:'admin/resource/course/live/list'},
    {name:'资料', code:'doc', url:'admin/resource/course/doc/list'},{name:'题库', code:'question', url:'admin/resource/question/bank/list'},
    {name:'线下课', code:'offline', url:'admin/resource/course/offline/list'}],
	uploadUrl: location.origin + import.meta.env.VITE_APP_BASE_API + '/api/common/upload',
  // 订单状态（未支付unpay、支付成功paid、部分退款refundPart、全额退款refund_all、已关闭closed、已取消cancel）
  orderStatusMap: {unpay: '未支付', paid: '支付成功', refundPart:'部分退款', refundAll:'全额退款', closed: '已关闭', cancel:'已取消'},
  orderStatusList: [{name:'未支付', code:'unpay'},{name:'支付成功', code:'paid'},{name:'部分退款', code:'refundPart'},
    {name:'全额退款', code:'refundAll'},{name:'已关闭', code:'closed'},{name:'已取消', code:'cancel'}],
  payTypeList: [{name:'二维码', code:'qrcode'},{name:'对公转账', code:'bank'},{name:'其他', code:'other'}],
}
